package com.wenwu.dao;

import java.sql.SQLException;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wenwu.common.bean.RelicsBasic;
import com.wenwu.common.bean.RelicsUmAudio;
import com.wenwu.common.bean.RelicsUmAudioExample;
import com.wenwu.common.page.PaginationVO;

public interface RelicsUmAudioMapper extends Dao{
    int countByExample(RelicsUmAudioExample example);

    int deleteByExample(RelicsUmAudioExample example);

    int deleteByPrimaryKey(Integer audioId);

    int insert(RelicsUmAudio record);

    int insertSelective(RelicsUmAudio record);

    List<RelicsUmAudio> selectByExample(RelicsUmAudioExample example);

    RelicsUmAudio selectByPrimaryKey(Integer audioId);

    int updateByExampleSelective(@Param("record") RelicsUmAudio record, @Param("example") RelicsUmAudioExample example);

    int updateByExample(@Param("record") RelicsUmAudio record, @Param("example") RelicsUmAudioExample example);

    int updateByPrimaryKeySelective(RelicsUmAudio record);

    int updateByPrimaryKey(RelicsUmAudio record);
    
    RelicsUmAudio selectObjByKey(@Param("basicId") Integer basicId)
			throws SQLException;

	int selectTotalRecord(@Param("audio")RelicsUmAudio audio)
			throws SQLException;

	List<RelicsBasic> selectList(@Param("audio")RelicsUmAudio audio,
			@Param("pageVo") PaginationVO pageVo) throws SQLException;

	int deleteByKey(List<?> keys) throws SQLException;
}